import React, { Component } from "react";
import { Link } from "react-router-dom";

export default class index extends Component {
  render() {
    return (
      <div>
        <h1>路由传参(Params)</h1>
        <ul>
          <li>
            <Link to="/ParamsDetail/01001">台风登陆福建</Link>
          </li>
          <li>
            <Link to="/ParamsDetail/01002">成都大运会开幕了</Link>
          </li>
          <li>
            <Link to="/ParamsDetail/01003">刀郎那首歌………………</Link>
          </li>
        </ul>
      </div>
    );
  }
}
